import auto2.Controller.UserController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main3 {
    public static void main(String[] args) {
        ApplicationContext context= new ClassPathXmlApplicationContext("auto.xml");
        UserController userController=context.getBean("userController", UserController.class);
        userController.search();
    }
}
